GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( fb065a...374ef7 )
by Andrea
8s
created

admin.js ➔ $   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 10
rs 9.4285
c 0
b 0
f 0
1
// Delete password field if empty
2
$(document).ready(function(){
3
    $("form").submit(function(){
4
        $("input").each(function(index, obj){
5
            if($(obj).val() == "" && $(obj).attr('name') == "password") {
6
                $(obj).remove();
7
            }
8
        });
9
    });
10
});
11
12
$(function () {
13
    $('[data-toggle="control-sidebar"]').controlSidebar();
14
    $('[data-toggle="push-menu"]').pushMenu();
15
16
    var $pushMenu       = $('[data-toggle="push-menu"]').data('lte.pushmenu');
0 ignored issues
show
Unused Code introduced by
The variable $pushMenu seems to be never used. Consider removing it.
Loading history...
17
    var $controlSidebar = $('[data-toggle="control-sidebar"]').data('lte.controlsidebar');
0 ignored issues
show
Unused Code introduced by
The variable $controlSidebar seems to be never used. Consider removing it.
Loading history...
18
    var $layout         = $('body').data('lte.layout');
0 ignored issues
show
Unused Code introduced by
The variable $layout seems to be never used. Consider removing it.
Loading history...
19
20
    $('[data-toggle="tooltip"]').tooltip();
21
})
22